include ../config.mk
include ../sdk.mk


TARGET = libae_protocol.a

all : protocol.o proto_login.o proto_im.o proto_mq.o proto_status.o proto_cmd.o proto_record.o

	$(AR) -r $(TARGET) *.o
	cp $(TARGET) $(MYLIB)

%.o: %.c
	$(CC) -c $(CFLAGS) -o $@ $< -I ../include

clean :
	/bin/rm -f *.o
	/bin/rm -f $(TARGET)
